package com.demo.common.dto;

import java.util.Date;
import java.util.List;

public class DtoFlightResult implements java.io.Serializable {
	private static final long serialVersionUID = 1044592180462681357L;
	private int code; // 返回的标记
	private String message; // 返回的信息
	private String fno; // 航班编号
	private String searchDateStr; // 查询日期(作为缓存的key用，格式为yyyy-MM-dd)
	private Date searchDate; // 查询时间，用来控制刷新频率
	List<DtoFlightInfo> resultList; // 返回结果集

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getFno() {
		return fno;
	}

	public void setFno(String fno) {
		this.fno = fno;
	}

	public String getSearchDateStr() {
		return searchDateStr;
	}

	public void setSearchDateStr(String searchDateStr) {
		this.searchDateStr = searchDateStr;
	}

	public Date getSearchDate() {
		return searchDate;
	}

	public void setSearchDate(Date searchDate) {
		this.searchDate = searchDate;
	}

	public List<DtoFlightInfo> getResultList() {
		return resultList;
	}

	public void setResultList(List<DtoFlightInfo> resultList) {
		this.resultList = resultList;
	}

}
